﻿#ifndef NETWORKSTREAM_H
#define NETWORKSTREAM_H
#include "Stream.h"

class NetWorkStream
{
public:
    NetWorkStream();
    ~NetWorkStream();
    virtual char Read(int number)
    {
        cout<<"this is NetWorkStream Read!!"<<endl;
        return number;
    };//读取
    virtual void Seek(int position)
    {
        cout<<"this is NetWorkStream Seek!!"<<endl;
    };//寻找，定位
    virtual void Write(char data)
    {
        cout<<"this is NetWorkStream Write!!"<<endl;
    };//写入
};

#endif // NETWORKSTREAM_H
